﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NakedObjects;
using System.ComponentModel;

namespace RTC.Modelo.Entidades{

    public class Pago : Entidad
    {
        #region Atributos

        [Hidden]
        public virtual int Id { get; set; }

        [DisplayName("Fecha de Pago")]
        public virtual DateTime FechaPago { get; set; }

        [DisplayName("Descripcion"), MultiLine]
        public virtual String Descripcion { get; set; }

        [Disabled,DisplayName("Referencia")]
        public virtual String Referencia { get; set; }

        [Hidden, Disabled, DisplayName("Fecha Modificacion")]
        public virtual DateTime ModifiedDate { get; set; }

        #endregion

        public string IconName()
        {
            return "currency.png";
        }


        protected override void SetModifiedDate()
        {
            this.ModifiedDate = DateTime.Now;
        }
    }
}
